package com.jing.cloud.service.api.constant;

import com.jing.cloud.util.ErrCode;
import org.springframework.stereotype.Component;

/**
 * Created by 29017 on 2017/9/18.
 */
@Component
public class ApiErrCode {
    public static final int TICKET_NULL = 200100001;
    public static final int TICKET_NOT_EXIST = 200100002;

    static {
        ErrCode.registerErrCode(TICKET_NULL, "ticket is null");
        ErrCode.registerErrCode(TICKET_NOT_EXIST, "ticket not exist");
    }
}
